package com.erdos.hyt.mall.service.impl;/**
 * @auth Liurong
 * @date 2017/4/1.
 */

import com.erdos.hyt.mall.mapper.MallGoodsTypeMapper;
import com.erdos.hyt.mall.model.MallGoods;
import com.erdos.hyt.mall.model.MallGoodsType;
import com.erdos.hyt.mall.service.MallGoodsService;
import com.erdos.hyt.mall.service.MallGoodsTypeService;
import org.springframework.stereotype.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
 * 商品分类service实现类
 *
 * @author liurong
 * @create 2017/4/1
 **/
@Service("mallGoodsTypeService")
public class MallGoodsTypeServiceImpl implements MallGoodsTypeService {
    @Autowired
    MallGoodsTypeMapper typeMapper;

    @Override
    public List<MallGoodsType> getAllGoodsType() {
        List<MallGoodsType> typeList = typeMapper.getAllMallGoosdType();
        return typeList;
    }

}
